package com.javasm.mb_store_api_final.ordersys.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import com.javasm.mb_store_api_final.giftsandgoods.goods.entity.GgGoods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * (OrderTable)表实体类
 *
 * @author makejava
 * @since 2024-07-31 21:33:54
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderTable extends Model<OrderTable> {

    @TableId(type = IdType.AUTO)
    private Integer oid;



    private String orderDate;

    private String otype;

    private String oaction;

    private String ostyle;

   //订单状态0成1否
    private String ostate;

    private String uname;

    private String ucount;

    private String uphone;

    private Integer uzid;

    private String area;

    private String place;

    private String way;

    private String fire;

    private String payway;

    private String mail;

    @TableField(exist = false)
    private List<GgGoods> goods;

}

